$(function(){
     $('.date, .date_pick').datepicker({ 
        altFormat: 'yy-mm-dd',
        showOn: "button",
        buttonImage: "../../../images/icon-calendar.gif",
        buttonImageOnly: true

      });
     $('.dateFo').datepicker({ 
        altFormat: 'yy-mm-dd',
        showOn: "button",
        buttonImage: "../../images/icon-calendar.gif",
        buttonImageOnly: true

      });

 }) ;